package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * 新增公告dto
 * @author 协同
 */
public class AnnouncementDTO {
    /**
     * 紧急程度(1低 2中 3高)
     */
    private String emergencyLevel;

    /**
     * 公告编码
     */
    private String code;

    /**
     * 公告主题
     */
    private String topic;

    /**
     * 公告内容
     */
    private String content;

    /**
     * 适用供应商ids
     */
    private List<Long> supplierIds;

    public String getEmergencyLevel() {
        return emergencyLevel;
    }

    public void setEmergencyLevel(String emergencyLevel) {
        this.emergencyLevel = emergencyLevel;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<Long> getSupplierIds() {
        return supplierIds;
    }

    public void setSupplierIds(List<Long> supplierIds) {
        this.supplierIds = supplierIds;
    }

    @Override
    public String toString() {
        return "AnnouncementDTO{" +
                "emergencyLevel='" + emergencyLevel + '\'' +
                ", code='" + code + '\'' +
                ", topic='" + topic + '\'' +
                ", content='" + content + '\'' +
                ", supplierIds=" + supplierIds +
                '}';
    }
}
